package com.lizhi.yun.core.treat;/**
 * @program: hbsf_yun
 * @name MsbTreatController
 * @description:
 * @author: lizhi
 * @create: 2021-12-31 13:32
 */

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

/**
 *@program: hbsf_yun
 *@name MsbTreatController
 *@description:
 *@author: lizhi
 *@create: 2021-12-31 13:32
 */
@RestController
@RequestMapping(value = "/api/sync/treat")
public class MsbTreatController {

    @Resource
    private MsbTreatHandler msbTreatHandler;

    @PostMapping(path = "/recv")
    public String recvTreat(@RequestBody String json){
        return msbTreatHandler.recvTreat(json);
    }
}
